﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace FriendsNearbyBot.Tests
{
    static class AssertString
    {
        public static void StartsWith(string expectedPrefix, string text)
        {
            Assert.AreEqual(expectedPrefix, text.Substring(0, expectedPrefix.Length));
        }

        public static void EndsWith(string expectedSufix, string text)
        {
            Assert.AreEqual(expectedSufix, text.Substring(text.Length - expectedSufix.Length));
        }
    }
}
